/**
 * 枚举类型类似于 字面量类型+联合类型，也表示一组明确的可选值
 *
 * 用法：
 *    1、使用关键字enum
 */
var Dretion;
(function (Dretion) {
    Dretion[Dretion["Up"] = 0] = "Up";
    Dretion[Dretion["Down"] = 1] = "Down";
    Dretion[Dretion["Left"] = 2] = "Left";
    Dretion[Dretion["Right"] = 3] = "Right";
})(Dretion || (Dretion = {}));
;
var changrNum = function (drectin) {
    console.log(drectin);
};
changrNum(Dretion.Down);
